<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GonzalesAdminEEDLDetail.aspx.cs" Inherits="GonzalesAdminEEDLDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link href="WebStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
  <div>
    <table width="100%" border="0" cellspacing="1" cellpadding="8">
      <tr>
        <td class="PageTitle"><asp:Label ID="Label_PageTitle" Text='Administration Panel' runat="server" />
        </td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="1" cellpadding="2">
          <tr>
            <td width="170" rowspan="3" valign="top"><asp:Label CssClass="FormTitle" ID="Label_Information" runat="server" Text='Personnel :: Claimants Expense Claim Limits' /></td>
            <td width="8" rowspan="3" class="VerticalDivider"><p>&nbsp;</p>
                  <p>&nbsp;</p>
              <p>&nbsp;</p>
              <p>&nbsp;</p>
              <p>&nbsp;</p>
              <p>&nbsp;</p></td>
            <td valign="top"><asp:Table CellPadding="5" CellSpacing="0" ID="Table_MessageBox" Width="100%" runat="server" Visible="false">
              <asp:TableRow>
                <asp:TableCell CssClass="ErrorBox" ></asp:TableCell>
              </asp:TableRow>
            </asp:Table></td>
          </tr>
          <tr>
            <td valign="top"><table width="100%" border="0" cellpadding="2" cellspacing="0" class="FormBorder">
              <tr>
                <td class="TableResultCriteriaBar"><table width="100%" border="0" cellspacing="0" cellpadding="1">
                    <tr>
                      <td>&nbsp;                      </td>
                      <td align="right"><asp:DropDownList CssClass="FormDropDown" ID="DropDownList_SortBy" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList_SortBy_SelectedIndexChanged"></asp:DropDownList>
                          <asp:DropDownList CssClass="FormDropDown" ID="DropDownList_SortOrder" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList_SortOrder_SelectedIndexChanged"></asp:DropDownList></td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td valign="top"><asp:GridView ID="GridViewResult" runat="server" OnRowCreated = "OnRowCreated" AllowPaging="True" AutoGenerateColumns="False" CssClass="FormBorder" PageSize="20" Width="100%" OnPageIndexChanging="GridViewResult_PageIndexChanging" CellPadding="5">
                    <Columns>
                        <asp:BoundField DataField="Code" HeaderText="Code">
                            <ItemStyle HorizontalAlign="Center" />                        </asp:BoundField>
                    <asp:BoundField DataField="ExpenseDetail" HeaderText="Expense Detail" HtmlEncode="False">
                      <ItemStyle HorizontalAlign="Left" />                      
                        <HeaderStyle HorizontalAlign="Left" /></asp:BoundField>
                    <asp:BoundField DataField="DurationInString" HeaderText="Duration">
                      <ItemStyle HorizontalAlign="Center" /></asp:BoundField>
                    <asp:BoundField DataField="Strict" HeaderText="Strict" HtmlEncode="False">
                      <ItemStyle HorizontalAlign="Center" /></asp:BoundField>
                        <asp:BoundField DataField="Currency" HeaderText="Currency">
                            <ItemStyle HorizontalAlign="Center" />                        </asp:BoundField>
                    <asp:BoundField DataField="LimitAmountInStr" HeaderText="Limit Amount">
                      <ItemStyle HorizontalAlign="Center" /></asp:BoundField>
                        <asp:BoundField DataField="EditLink" HtmlEncode="False" Visible="False" >
                            <ItemStyle HorizontalAlign="Center" />                        </asp:BoundField>
                        <asp:BoundField DataField="DeleteLink" HtmlEncode="False" >
                            <ItemStyle HorizontalAlign="Center" />                        </asp:BoundField>
                    </Columns>
                    <RowStyle CssClass="GridViewItem" />
                    <HeaderStyle CssClass="GridViewHeader" />                    
</asp:GridView>                </td>
              </tr>
            </table></td>
          </tr>
          
          <tr>
            <td valign="top"><table width="500" border="0" cellpadding="5" cellspacing="1" class="FormBorder">
              <tr>
                <td colspan="2" align="right" class="TableResultCriteriaBar"><asp:ImageButton ID="ImageButton_Cancel" runat="server" ImageUrl="img/popcalendar/close.gif"
                        OnClick="ImageButton_Cancel_Click" />                
<a href="GonzalesAdminEEDLListing.aspx"></a></td>
              </tr>
              <tr>
                <td class="FormLineItem"><asp:Label CssClass="FormField" ID="Label_EmployeeID" runat="server" Text="Employee ID:" /></td>
                <td class="FormLineItem"><asp:Label CssClass="NormalBodyText" ID="LabelValue_EmployeeID" runat="server" />                </td>
              </tr>
              <tr>
                <td class="FormLineItemAlt"><asp:Label CssClass="FormField" ID="Label_Name" runat="server" Text='Name:' /></td>
                <td class="FormLineItemAlt"><asp:Label CssClass="NormalBodyText" ID="LabelValue_DisplayName" runat="server" /></td>
              </tr>
              <tr>
                <td class="FormLineItem"><asp:Label CssClass="FormField" ID="Label_Category" runat="server" Text='Category:' /></td>
                <td class="FormLineItem"><asp:DropDownList CssClass="FormDropDown" ID="DropDownList_Category" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList_Category_SelectedIndexChanged"></asp:DropDownList></td>
              </tr>
              <tr>
                <td class="FormLineItemAlt"><asp:Label CssClass="FormField" ID="Label_ExpenseDetail" runat="server" Text='Expense Detail:' /></td>
                <td class="FormLineItemAlt"><asp:DropDownList CssClass="FormDropDown" ID="DropDownList_ExpenseDetail" runat="server"></asp:DropDownList></td>
              </tr>
              <tr>
                <td class="FormLineItem"><asp:Label CssClass="FormField" ID="Label_LimitDuration" runat="server" Text="Duration:" /></td>
                <td class="FormLineItem"><asp:DropDownList CssClass="FormDropDown" ID="DropDownList_Duration" runat="server"></asp:DropDownList></td>
              </tr>
              <tr>
                <td class="FormLineItemAlt"><asp:Label CssClass="FormField" ID="Label_LimitAmount" runat="server" Text='Amount Limit:' /></td>
                <td class="FormLineItemAlt"><asp:DropDownList CssClass="FormDropDown" ID="DropDownList_Currency" runat="server"></asp:DropDownList>
                    <asp:TextBox ID="TextBox_AmountLimit" Text="0" runat="server" CssClass="FormTextBox" Columns="10"  /></td>
              </tr>
              <tr>
                <td class="FormLineItem"><asp:Label CssClass="FormField" ID="Label_Strict" runat="server" Text='Strict:' /></td>
                <td class="FormLineItem"><asp:CheckBox ID="CheckBox_Strict" runat="server" /></td>
              </tr>
              <tr>
                <td colspan="2" class="FormLineItemAlt"><asp:Button CssClass="FormButton" ID="Button_Submit" runat="server" Text="Add" OnClick="Button_Submit_Click" /></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table>
  </div>

</form>
</body>
</html>
